package com.yiyahui.project.erp.service;

import java.util.List;
import com.yiyahui.project.erp.domain.YiyaChannel;

/**
 * 渠道Service接口
 * 
 * @author yiyahui
 * @date 2020-05-03
 */
public interface IYiyaChannelService 
{
    /**
     * 查询渠道
     * 
     * @param id 渠道ID
     * @return 渠道
     */
    public YiyaChannel selectYiyaChannelById(Long id);

    /**
     * 查询渠道列表
     * 
     * @param yiyaChannel 渠道
     * @return 渠道集合
     */
    public List<YiyaChannel> selectYiyaChannelList(YiyaChannel yiyaChannel);

    /**
     * 新增渠道
     * 
     * @param yiyaChannel 渠道
     * @return 结果
     */
    public int insertYiyaChannel(YiyaChannel yiyaChannel);

    /**
     * 修改渠道
     * 
     * @param yiyaChannel 渠道
     * @return 结果
     */
    public int updateYiyaChannel(YiyaChannel yiyaChannel);

    /**
     * 批量删除渠道
     * 
     * @param ids 需要删除的渠道ID
     * @return 结果
     */
    public int deleteYiyaChannelByIds(Long[] ids);

    /**
     * 删除渠道信息
     * 
     * @param id 渠道ID
     * @return 结果
     */
    public int deleteYiyaChannelById(Long id);
}
